'''
    ShikIt is a simple text editor using SHIK for input.
'''
import sys

PyQtPath = '/usr/lib64/python/site-packages'
if PyQtPath not in sys.path:
    sys.path.append(PyQtPath)

sys.path.append('../')

from PyQt4 import QtGui

import SHIK.ui.w

class AppWin(QtGui.QMainWindow):
    def __init__(self, *args):
        QtGui.QMainWindow.__init__(self, *args)
        self.resize( 800, 600 )
        
        # Create widget and install filters
        self.test_edit = SHIK.ui.w.TextEdit(self)
        self.setCentralWidget(self.test_edit)

        
def run():
    app = QtGui.QApplication(sys.argv)
    
    w = AppWin()
    w.show()
    
    ret = app.exec_()
    return ret

if __name__ == '__main__':
    sys.exit(run())

